package com.cx.service.lcd.Impl;

import com.cx.mapper.MoneydetailsMapper;
import com.cx.pojo.Gamelibrary;
import com.cx.service.lcd.MoneydetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MoneydetailsServiceImpl implements MoneydetailsService {
    @Autowired
    MoneydetailsMapper moneydetailsMapper;

    @Override
    public List<Gamelibrary> selectByUserId(int userId) {
        List<Gamelibrary> gamelibraries = moneydetailsMapper.selectByUserId(userId);
        return gamelibraries;
    }
}
